-- GENERATED SPELL FOR [Stormpeak Hatchling] --


function spell0_29755(pUnit, Event) --@Wing Smash,n/a--
pUnit:FullCastSpellOnTarget(61554,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_29755', 620, 1)
end

function Sorts_29755(pUnit, Event)
local choix_sorts_29755 = math.random(0, 0)
if choix_sorts_29755 == 0 then
pUnit:RegisterEvent('spell0_29755', 1, 1)
end
end

function mob29755_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29755', math.random(1500, 3000), 1)
end

function mob29755_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29755_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29755_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29755, 1, 'mob29755_Action')
RegisterUnitEvent(29755, 2, 'mob29755_Leave')
RegisterUnitEvent(29755, 3, 'mob29755_Kill')
RegisterUnitEvent(29755, 4, 'mob29755_Die')
